<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<HTML xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<META content="IE=7.0000" http-equiv="X-UA-Compatible">
<TITLE>旅游网站</TITLE>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>


<LINK rel=stylesheet type=text/css href="resource/skink.css">

<STYLE type=text/css>#nav_hd_ {
	BORDER-BOTTOM: #cccccc 1px solid; BORDER-LEFT: #e1e1e1 0px solid; MARGIN: 0px auto 0px 0px; WIDTH: 924px; BACKGROUND: #f1f1f1; HEIGHT: 40px; BORDER-TOP: #e1e1e1 0px solid; BORDER-RIGHT: #e1e1e1 0px solid; _width: 920px; _margin-left: 0px
}
A.nav_button_hd_ {
	BORDER-BOTTOM: #e1e1e1 0px solid; BORDER-LEFT: #e1e1e1 0px solid; LINE-HEIGHT: 40px; WIDTH: 100px; DISPLAY: block; FONT-FAMILY: 微软雅黑; BACKGROUND: #f1f1f1; FLOAT: left; HEIGHT: 40px; COLOR: #333333; MARGIN-LEFT: 0px; FONT-SIZE: 15px; BORDER-TOP: #e1e1e1 0px solid; FONT-WEIGHT: normal; BORDER-RIGHT: #e1e1e1 0px solid; TEXT-DECORATION: none; PADDING-TOP: 0px; _width: 100px
}
A.nav_button_hd_msout {
	BORDER-BOTTOM: #c40000 0px solid; BORDER-LEFT: #c40000 0px solid; LINE-HEIGHT: 40px; WIDTH: 100px; DISPLAY: block; FONT-FAMILY: 微软雅黑; BACKGROUND: url(/skin/skin1/other/button_bg.png) no-repeat; FLOAT: left; HEIGHT: 40px; COLOR: #000000; MARGIN-LEFT: 0px; FONT-SIZE: 15px; BORDER-TOP: #c40000 0px solid; FONT-WEIGHT: normal; BORDER-RIGHT: #c40000 0px solid; TEXT-DECORATION: none; PADDING-TOP: 0px; _width: 100px
}
A.nav_button_hd_:link {
	BORDER-BOTTOM-COLOR: #e1e1e1; BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-COLOR: #e1e1e1; FONT-FAMILY: 微软雅黑; BACKGROUND: #f1f1f1; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; COLOR: #000000; BORDER-RIGHT-COLOR: #e1e1e1; MARGIN-LEFT: 0px; FONT-SIZE: 15px; BORDER-LEFT-COLOR: #e1e1e1; BORDER-LEFT-WIDTH: 0px; FONT-WEIGHT: normal; _color: #ffffff
}
A.nav_button_hd_:hover {
	BORDER-BOTTOM: #c40000 0px solid; BORDER-LEFT: #c40000 0px solid; FONT-FAMILY: 微软雅黑; BACKGROUND: url(/skin/skin1/other/button_bg.png) no-repeat; COLOR: #ee025a; MARGIN-LEFT: 0px; FONT-SIZE: 15px; BORDER-TOP: #c40000 0px solid; FONT-WEIGHT: normal; BORDER-RIGHT: #c40000 0px solid
}
#main_hd_ {
	BORDER-BOTTOM: #e1e1e1 0px solid; TEXT-ALIGN: left; BORDER-LEFT: #e1e1e1 0px solid; MIN-HEIGHT: 260px; WIDTH: 924px; BACKGROUND: #ffffff; MARGIN-LEFT: 0px; BORDER-TOP: #e1e1e1 0px solid; BORDER-RIGHT: #e1e1e1 0px solid; _width: 920px
}
#main_hd_1 {
	BORDER-BOTTOM: #e1e1e1 0px solid; TEXT-ALIGN: left; BORDER-LEFT: #e1e1e1 0px solid; MIN-HEIGHT: 260px; WIDTH: 924px; BACKGROUND: #ffffff; MARGIN-LEFT: 0px; BORDER-TOP: #e1e1e1 0px solid; BORDER-RIGHT: #e1e1e1 0px solid; _width: 920px
}
#main_hd_2 {
	BORDER-BOTTOM: #e1e1e1 0px solid; TEXT-ALIGN: left; BORDER-LEFT: #e1e1e1 0px solid; MIN-HEIGHT: 260px; WIDTH: 924px; BACKGROUND: #ffffff; MARGIN-LEFT: 0px; BORDER-TOP: #e1e1e1 0px solid; BORDER-RIGHT: #e1e1e1 0px solid; _width: 920px
}
#main_hd_3 {
	BORDER-BOTTOM: #e1e1e1 0px solid; TEXT-ALIGN: left; BORDER-LEFT: #e1e1e1 0px solid; MIN-HEIGHT: 260px; WIDTH: 924px; BACKGROUND: #ffffff; MARGIN-LEFT: 0px; BORDER-TOP: #e1e1e1 0px solid; BORDER-RIGHT: #e1e1e1 0px solid; _width: 920px
}
#main_hd_4 {
	BORDER-BOTTOM: #e1e1e1 0px solid; TEXT-ALIGN: left; BORDER-LEFT: #e1e1e1 0px solid; MIN-HEIGHT: 260px; WIDTH: 924px; BACKGROUND: #ffffff; MARGIN-LEFT: 0px; BORDER-TOP: #e1e1e1 0px solid; BORDER-RIGHT: #e1e1e1 0px solid; _width: 920px
}
#main_hd_5 {
	BORDER-BOTTOM: #e1e1e1 0px solid; TEXT-ALIGN: left; BORDER-LEFT: #e1e1e1 0px solid; MIN-HEIGHT: 260px; WIDTH: 924px; BACKGROUND: #ffffff; MARGIN-LEFT: 0px; BORDER-TOP: #e1e1e1 0px solid; BORDER-RIGHT: #e1e1e1 0px solid; _width: 920px
}
</STYLE>







</HEAD>

<BODY >




<DIV id=wrapper>
<div style="font-size: 40px;color: red;font-weight: bold;"  align="center">
旅游网站
</div>



<%@ include file="head.jsp" %>


<DIV style="TEXT-ALIGN: center; MARGIN: 0px auto; WIDTH: 1200px; BACKGROUND: #ffffff; HEIGHT: auto">
<DIV style="BORDER-BOTTOM: #cccccc 1px solid; TEXT-ALIGN: right; BORDER-LEFT: #cccccc 1px solid; MIN-HEIGHT: 150px; WIDTH: 926px; BACKGROUND: #ffffff; FLOAT: left; MARGIN-LEFT: 0px; BORDER-TOP: #cccccc 1px solid; BORDER-RIGHT: #cccccc 1px solid; _width: 920px">


<DIV style="TEXT-ALIGN: center; MARGIN: 0px auto; WIDTH: 924px; BACKGROUND: #ffffff; _width: 920px">
<form action="." method="post">
<DIV id=nav_hd_>
<A class=nav_button_hd_msout  href=".">全部信息</A>  
<A class=nav_button_hd_msout  href=".?tuijian=1">热门推荐</A> 
<A class=nav_button_hd_msout  href=".?type=1">销量排行</A> 
<A class=nav_button_hd_msout  href=".?type=2">点击排行</A> 

<span style="font-weight: bold;font-size: 18px;">旅游标题：</span>
<input  type= "text" style="width: 100px;height: 22px;" name="biaoti" value="${biaoti }"  />
<span style="font-weight: bold;font-size: 18px;">旅游城市：</span>
<input  type= "text" style="width: 100px;height: 22px;" name="city" value="${city }"  />

<input  type= "submit" value="&nbsp;搜&nbsp;&nbsp;索&nbsp;" style="width: 60px;height: 24px;"  />



</DIV>
</form>

<DIV id=main_hd_>
<DIV style="MIN-HEIGHT: 260px; WIDTH: 924px; DISPLAY: block; BACKGROUND: #ffffff; _width: 917px" id=main_hd_1>


<script type="text/javascript">

function aaa(){
	
	if (document.getElementById('password1id').value=="")
	{
		alert("原密码不能为空");
		return false;
	}
	
	if (document.getElementById('password2id').value=="")
	{
		alert("新密码不能为空");
		return false;
	}
	if (document.getElementById('password2id').value.length<6)
	{
		alert("新密码长度必须大于6位");
		return false;
	}
	if (document.getElementById('password2id').value != document.getElementById('password3id').value)
	{
		alert("确认新密码与新密码不一致");
		return false;
	}	 
	
	return true;

}

</script>

<!-- 网站内容开始 -->

<form action="password2.do" method="post" onsubmit="return aaa()">
<table width="100%" border="1">


<tr>
<td align="center" colspan="2">
<br/>
<span style="color:Red;font-size:20px;font-weight:bold;">个人密码</span>
</td>
</tr>

<tr>
<td align="right">原密码：</td>
<td align="center">
  <input name="password1" type="password" id="password1id"    style="width: 500px;height: 25px;"/>
</td>
</tr>


<tr>
<td align="right">新密码：</td>
<td align="center">
  <input name="password2" type="password" id="password2id"    style="width: 500px;height: 25px;"/>
</td>
</tr>

<tr>
<td align="right">确认新密码：</td>
<td align="center">
   <input name="password3" type="password" id="password3id"    style="width: 500px;height: 25px;"/>
</td>
</tr>


<tr>
<td align="right">操作：</td>
<td align="center">
    
  <input type="submit" value="提&nbsp;&nbsp;&nbsp;&nbsp;交" style="width: 100px;height: 25px;" /> 
     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <input type="reset" value="重&nbsp;&nbsp;&nbsp;&nbsp;置" style="width: 100px;height: 25px;"/>
     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</td>
</tr>



</table>
</form>


   
   
<!-- 网站内容结束 -->    

</DIV>


</DIV>
</DIV>



</DIV>


<DIV style="TEXT-ALIGN: right; MIN-HEIGHT: 318px; PADDING-LEFT: 2px; WIDTH: 268px; BACKGROUND: #ffffff; FLOAT: left; _width: 260px">


<DIV style="BORDER-BOTTOM: #cccccc 1px solid; TEXT-ALIGN: left; BORDER-LEFT: #cccccc 1px solid; WIDTH: 268px; ZOOM: 1; HEIGHT: auto; OVERFLOW: hidden; BORDER-RIGHT: #cccccc 1px solid; _width: 268px">


<DIV style="TEXT-ALIGN: center; LINE-HEIGHT: 32px; MARGIN-TOP: 0px; WIDTH: 270px;  HEIGHT: 32px; PADDING-TOP: 0px">
<FONT color=#333333><B>旅游资讯</B></FONT> 
</DIV>



<DIV style="BORDER-BOTTOM: #cccccc 1px solid; TEXT-ALIGN: left; BORDER-LEFT: #cccccc 1px solid; WIDTH: 268px; ZOOM: 1; HEIGHT: auto; OVERFLOW: hidden; BORDER-RIGHT: #cccccc 1px solid; _width: 268px">


<c:forEach items="${zixunlist}" var="zixun">
<DIV style="TEXT-ALIGN: left; PADDING-LEFT: 6px; WIDTH: 240px; FLOAT: left; HEIGHT: 26px; _width: 240px; _PADDING-left: 1px">
<A href="zixunshow.do?id=${zixun.id }" >
<c:if test="${fn:length(zixun.biaoti)>15}">${fn:substring(zixun.biaoti,0, 15)}...</c:if>
<c:if test="${fn:length(zixun.biaoti)<=15}">${zixun.biaoti }</c:if>
</A> 
</DIV>
</c:forEach>



<br /><br /><br /><br /><br /><br />

<DIV style="TEXT-ALIGN: left; PADDING-LEFT: 6px; WIDTH: 240px; FLOAT: left; HEIGHT: 26px; _width: 240px; _PADDING-left: 1px">


</DIV>


</DIV>
</DIV>

</DIV>
</DIV>
<br/><br/>
<a href="manage/login.jsp">管理后台</a>
</BODY>
</HTML>
